﻿using System;
using System.Web.Mvc;
using System.ComponentModel.Design;
using System.ComponentModel.DataAnnotations;

namespace Think.Lenovo.Com.Models.NewsModel
{
    public class NewsModel
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { set; get; }
        /// <summary>
        /// 标题
        /// </summary>
        public String Title { set; get; }
        /// <summary>
        /// 缩略标题
        /// </summary>
        public String ABBTitle { set; get; }
        /// <summary>
        /// 1为推荐,0为不推荐
        /// </summary>
        public int? TuiJian { set; get; }

        /// <summary>
        /// 1为跳转,0为不跳转
        /// </summary>
        public int? TiaoZhuan { set; get; }

        /// <summary>
        /// 1为加粗,0为不加粗
        /// </summary>
        /// <returns></returns>
        public int? JiaCu { set; get; }
        /// <summary>
        /// 1为头条,0不为头条
        /// </summary>
        /// <returns></returns>
        public int? TouTiao { set; get; }

        /// <summary>
        /// 分类
        /// </summary>
        public int? Tree { set; get; }

        /// <summary>
        /// 来源
        /// </summary>
        public string Source { set; get; }

        /// <summary>
        /// 作者
        /// </summary>
        public string Author { set; get; }

        /// <summary>
        /// 标签
        /// </summary>
        public string Target { set; get; }

        /// <summary>
        /// 排序
        /// </summary>
        public int? Taxis { set; get; }

        /// <summary>
        /// 缩略图
        /// </summary>
        public string AbbPic { set; get; }

        /// <summary>
        /// 关键字
        /// </summary>
        public string Keyword { set; get; }

        /// <summary>
        /// 
        /// </summary>
        public string Abstracts { set; get; }

        /// <summary>
        /// 
        /// </summary>
        public string Content { set; get; }


        /// <summary>
        /// 
        /// </summary>
        public int? Feedback { set; get; }

        /// <summary>
        /// 
        /// </summary>
        public int? Sign { set; get; }

        /// <summary>
        /// 
        /// </summary>
        public string BrowseRight { set; get; }

        /// <summary>
        /// 
        /// </summary>
        public int? BrowseTime { set; get; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime? ReleaseDate { set; get; }

        /// <summary>
        /// 
        /// </summary>
        public int? Integral { set; get; }

        /// <summary>
        /// 文章类型,1,文章 2,活动管理
        /// </summary>
        public int? Types { set; get; }

        /// <summary>
        /// 添加者的id
        /// </summary>
        public int? AddUserId { set; get; }

        public int? UserRole { set; get; }

        /// <summary>
        /// 地区id
        /// </summary>
        public int? AreaId { set; get; }

        /// <summary>
        /// 状态0代表已发布，1代表已审核，2代表已审核
        /// </summary>
        public int? State { set; get; }
        /// <summary>
        /// 状态名称
        /// </summary>
        public string StateName { get; set; }
        /// <summary>
        /// 用户真实姓名
        /// </summary>
        public string UserRealName { set; get; }

    }
}
